package per.mnxc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_message")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 留言id
     */
    @TableId(value = "MsgID", type = IdType.AUTO)
    private Long msgId;

    /**
     * 留言内容
     */
    @TableField("MsgCont")
    private String msgCont;

    /**
     * 留言时间
     */
    @TableField("MsgTime")
    private LocalDateTime msgTime;

    /**
     * 父留言id
     */
    @TableField("FMsgID")
    private Integer fMsgId;

    /**
     * 用户id
     */
    @TableField("UserID")
    private Long userid;

    /**
     * 发帖id
     */
    @TableField("LunchID")
    private Long lunchId;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    /**
     * 成长记录·id
     */
    @TableField("GRID")
    private Long grid;


}
